package com.quad.innovators.salesease.model.vo.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "仓库信息对象")
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class WarehouseVO {

    @Schema(description = "仓库code")
    private String code;

    @Schema(description = "仓库名称")
    private String name;

    @Schema(description = "仓库负责人")
    private String manager;

    @Schema(description = "联系电话")
    private String telephone;

    @Schema(description = "仓库地址")
    private String address;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}